<h1>Utilisateurs</h1>

<table>
  <tr>
    <th>Login</th>
	<th>Prénom</th>
	<th>Nom</th>
	<th>Email</th>
  </tr>

<% for user in @users %>
  <tr>
    <td><%=h user.login %></td>
	<td><%=h user.firstName %></td>
	<td><%=h user.name %></td>
	<td><%=h user.email %></td>
    <td><%= link_to 'Supprimer', user, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
